Functional test with a haptic device